Skip to content

Conversation

@commonsensesoftware
Copy link
Collaborator

Refactor IApiVersionDescriptionProviderFactory Registration

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Description

Refactors the setup for IApiVersionDescriptionProviderFactory.

  • Enable IApiVersionDescriptionProviderFactory to be single replacement for IApiVersionDescriptionProvider in DI
  • IApiVersionDescriptionProvider can still be individually replaced in DI
  • Simplify default implementation of IApiVersionDescriptionProviderFactory
  • Add IApiVersionDescriptionProviderFactory.Create() extension method
  • Use static lambdas in DI where possible

@commonsensesoftware commonsensesoftware force-pushed the dev/css/refactor-ver-prov-factory branch from 7efff8f to 8557935 Compare March 26, 2024 16:45
@commonsensesoftware commonsensesoftware merged commit 4c6091f into main Mar 26, 2024
@commonsensesoftware commonsensesoftware deleted the dev/css/refactor-ver-prov-factory branch March 26, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants